package com.lagou.edu.kubernetes;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;


@Slf4j
@Configuration
@EnableCaching
@MapperScan("com.lagou.edu.kubernetes.mapper")
@SpringBootApplication(exclude = { RedisAutoConfiguration.class})
public class KubernetesApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(KubernetesApplication.class);
        app.run(args);
    }
}
